<%--
  Created by IntelliJ IDEA.
  Game: lucas
  Date: 2018/1/31
  Time: 下午5:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../common.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>游戏管理--空调小程序后台</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="${ctx}/css/public.css" media="all" />
    <style>
        .laytable-cell-1-logo{  /*最后的pic为字段的field*/
            height: 100%;
            max-width: 100%;
        }
    </style>
</head>
<body class="childrenBody">
<form class="layui-form">
    <blockquote class="layui-elem-quote quoteBox">
        <form class="layui-form">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input type="text" class="layui-input gameName" placeholder="游戏名称" />
                </div>
                <div class="layui-input-inline">
                    <select name="typeId" data-filter="selType" id="typeId" lay-verify="required" class="layui-select layui-input typeId">
                        <option value="">请选择一个游戏类型</option>
                        <c:forEach items="${typeList}" var="type">
                                <option value="${type.id}" >${type.typeName}</option>
                        </c:forEach>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" style="width: 190px;" id="dataselect" placeholder="上架时间">
                </div>
                <a class="layui-btn search_btn" data-type="reload">搜索</a>
            </div>
            <div class="layui-inline">
                <a class="layui-btn layui-btn-normal add_btn">添加</a>
            </div>

        </form>
    </blockquote>
    <table id="infoList" lay-filter="infoList"></table>


</form>
<!--操作-->
<script type="text/html" id="infoListBar">
    <a class="layui-btn layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="state">下架</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>


<script type="text/javascript" src="${ctx}/layui/layui.js"></script>
<script type="text/javascript" src="${ctx}/js/info/infoList.js"></script>
</body>
</html>
